package com.example.login.repository;

import com.example.login.entity.Poem;
import org.springframework.data.jpa.repository.JpaRepository;

import java.math.BigInteger;
import java.util.List;

public interface PoemRepository extends JpaRepository<Poem,String> {
    List<Poem> findByTitleLike(String Title);
    List<Poem> findByDynasty(String Dynasty);
    List<Poem> findById(BigInteger id);
}
